<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>浮动练习</title>
    <style>
        .fu1 {
            /*height: 376px;*/
            margin-bottom: 10px;
            overflow: hidden;
            background-color: lime;
        }
        .fu2{
            background-color: #ff4400;
            overflow: hidden;
        }
        .d1 {
            width: 611px;
            height: 376px;
            background-color: gray;
            margin-right: 10px;
            float: left;
        }

        .d2 {
            width: 375px;
            height: 376px;
            background-color: yellow;
            /*float: right;*/
            float: left;
        }

        .d3 {
            width: 366px;
            height: 233px;
            background-color: pink;
            margin-right: 20px;
            float: left;
        }

        .d4 {
            width: 198px;
            height: 233px;
            background-color: #0aa1ed;
            margin-right: 8px;
            float: left;
        }

        .d5 {
            width: 198px;
            height: 233px;
            background-color: #0aa1ed;
            margin-right: 8px;
            float: left;
        }

        .d6 {
            width: 198px;
            height: 233px;
            background-color: #0aa1ed;
            /*margin-right: 8px;*/
            float: left;
        }


    </style>
</head>
<body>
<div class="fu1">
    <div class="d1"></div>
    <div class="d2"></div>
</div>
<!--<br>-->
<div class="fu2">
    <div class="d3"></div>
    <div class="d4"></div>
    <div class="d5"></div>
    <div class="d6"></div>
</div>
</body>
</html>